package com.bookmanger.server.service;

import com.bookmanger.pojo.DTO.CheckInfoDTO;
import com.bookmanger.pojo.DTO.UserRegisterDTO;
import com.bookmanger.pojo.Entity.AdminEntity;
import com.bookmanger.pojo.Entity.Reader;
import com.bookmanger.pojo.Entity.UserEntity;

public interface UserService {
    Reader loginReader(String username, String password);
    AdminEntity loginAdmin(String username, String password);
    void checkInfo(CheckInfoDTO checkInfoDTO);

    boolean registerByEmail(UserRegisterDTO userRegisterDTO);
}
